//package com.example.demo.xxl;
//
//import com.alibaba.fastjson.JSON;
//import com.xxl.job.core.biz.model.ReturnT;
//import com.xxl.job.core.handler.IJobHandler;
//import com.xxl.job.core.handler.annotation.JobHandler;
//import com.xxl.job.core.log.XxlJobLogger;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.stereotype.Component;
//
//@Slf4j
//@Component
//@JobHandler(value = "disruptorsJobHandler")
//@Configuration
//public class DemoJobHandler extends IJobHandler {
//
//
//    @Override
//    public ReturnT<String> execute(String param) throws Exception {
//        log.info("XXL-JOB, Hello World.{}", JSON.toJSON(param));
//
//        XxlJobLogger.log("XXL-JOB, Hello World.{}~~~~", JSON.toJSON(param));
//
//        return ReturnT.SUCCESS;
//    }
//}
